// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System.Data
{
    using System;

    public interface IDataReader : IDisposable, IDataRecord
    {

        int Depth
        {
            get;
        }

        bool IsClosed
        {
            get;
        }

        int RecordsAffected
        {
            get;
        }

        void Close();

        DataTable GetSchemaTable();

        bool NextResult();

        bool Read();
    }
}
